home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
batch
/
sputls
/
box.doc
< prev
next >
Wrap
Text File
|
1991-01-06
|
2KB
|
69 lines
Display Box version 1.0 (C) SPETER SOFTWARE, January 1991.
This program will display a box using a given text attribute.
The program was written in Borland's Turbo Pascal 5.5
Usage:
------
1: BOX [/h]
Output a help screen.
/h (optional)
2: BOX [/s<num>] [/n] [/a] box-type x1 y1 x2 y2 attr
Display a box from (x1,y1) to (x2,y2).
/s<num> (optional) sets the number of spaces before and after
the box's verticals - inside and out, the
default for <num> is 0;
/n (optional) "No-clear", only clear the characters beside
the box's verticals (as set by /s);
/a (optional) change the text attributes of the characters
to "attr", but don't clear the characters
inside the box;
box-type either s or d (single / double)
x1 y1 top left corner of box (or corner of space
before the box - as set with /s)
x2 y2 bottom right corner of the box (or space -
as above)
attr character attribute [1..255], see SHOWATTR.EXE;
x's in the range [1..80]
y's in the range [1..25]
Example:
--------
Box /s2 s 40 3 75 6 23
/s2 insert 2 blanks outside and inside the box;
s use a single line box (not a double);
40 3 place the top-left of the box at column 42 of line 3;
NOTE: because /s2 was specified the corner is moved 2.
75 6 the bottom-right corner;
23 text attribute (white on blue);
Result:
1
2 <-screen line
3 (40,3) * ┌─────────────────────────────┐
4 │ │
5 │ │
6 └─────────────────────────────┘
Correspondence:
---------------
Please address any comments to:
Stephen Peter
INTERNET:
steve@cad0.arch.unsw.oz.au
POST:
SPETER SOFTWARE
P.O. BOX 643
LANE COVE
NSW 2066
AUSTRALIA